From: Florian Müllner Date: Fri, 18 Feb 2011 18:35:17 +0000 (+0100) Subject: search-entry: Update hint text X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8949 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=136ed3623b697922cc4148a89d7337fea1fff353;p=gnome-shell.git search-entry: Update hint text 'Search your computer' is problematic for various reasons: - it specifies the kind of device - it focuses on local search (while we also do web search) - it does not advertise the instant search functionality Change the hint text to 'Type to search' as proposed by Allan Day. https://bugzilla.gnome.org/show_bug.cgi?id=642287 --- diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index f59dccb87..be031b541 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -23,7 +23,11 @@ function SearchEntry(focusBase) { SearchEntry.prototype = { _init : function(focusBase) { this.actor = new St.Entry({ name: 'searchEntry', - hint_text: _("Search your computer"), + /* Translators: this is the text displayed + in the search entry when no search is + active; it should not exceed ~30 + characters */ + hint_text: _("Type to search..."), track_hover: true }); this.entry = this.actor.clutter_text;